package com.liu.design.structure.component;

/**
 * @author LIU
 * @version 1.0
 * @date 2024/5/6 11:49
 * @description TODO
 */
public class ActivityDiscount implements DiscountStrategy {
    @Override
    public Double getTotal(double price) {
        // 活动价9折
        return 0.9 * price;
    }
}
